<?php

namespace App\Modules\Apicrzs\Entities;

use App\Models\Model;

class VipCardModel extends Model
{
    protected $table='vip_cards';
    public function vip(): HasOne
    {
        return $this->hasOne(Vips::class,'id','vip_id');
    }

    /**
     * @return HasOne
     */
    public function user(): HasOne
    {
        return $this->hasOne(UsersModel::class,'id','user_id');
    }
}
